package com.jhy.javacase.decorator;

/**
 * @author jhy
 * @ClassName Client.java
 * @Description 客户端
 * @createTime 2022年02月27日 13:13:00
 */
public class Client {

    public static void main(String[] args) {
        //先打粉底，再涂口红(装饰器实现层层包裹)
        Lipstick makeupGirl = new Lipstick(new FoundationMakeup(new Girl()));
        makeupGirl.show();
    }
}
